package com.ruicar.afs.cloud.afscase.channel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.afscase.channel.entity.ChannelAffiliatedUnits;

import java.util.List;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-05-26 23:15
 */
public interface ChannelAffiliatedUnitsService extends IService<ChannelAffiliatedUnits> {

    /**
     * 根据渠道id，挂靠类型查询挂靠信息
     *
     * @param channelId,affiliatedType,affUnitsName
     * @return List<ChannelAffiliatedUnitsTemp>
     */
    List<ChannelAffiliatedUnits> getAffiliationInfo(Long channelId, String affiliatedType, String affUnitsName);

    /**
     * 根据社会统一代码查询网约车合作平台
     *
     * @param socUniCrtCode
     * @return List<ChannelAffiliatedUnitsTemp>
     */
    List<ChannelAffiliatedUnits> getCooperPlatList(String socUniCrtCode);

}
